package com.victor.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.victor.entity.InfomationPhoto;
@Mapper
public interface InfomationPhotoDao {
	/**
	 * 删除
	 * @param tId
	 * @return
	 */
    boolean deleteByPrimaryKey(int[] tId);
    /**
     * 添加图片
     * @param record
     * @return
     */
    boolean insertSelective(InfomationPhoto record);

    InfomationPhoto selectByPrimaryKey(Integer tId);
    /***
     * 修改图片
     * @param record
     * @return
     */
    boolean updateByPrimaryKeySelective(InfomationPhoto record);
    /**
     * 根据infoid
     * @param i
     * @return
     */
	List<InfomationPhoto> selByInfoId(int i);
	/**
	 * 根据id
	 * @param i
	 * @return
	 */
	InfomationPhoto selById(int i);

}